/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Complete News Layout - Row 1 (Top), Category Sections (Middle), Rows 2&3 (Bottom)
 Author:       Your Name
 Template:     generatepress
 Version:      1.0
*/

/* ======================================== */
/* IMPORT FONT */
/* ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap');

/* ======================================== */
/* GLOBAL STYLES */
/* ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.5;
}

.tb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}
/* Update Badge - Orange for updates */
.tb-update-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

.tb-update-badge i {
    font-size: 10px;
    color: #fff;
}

/* Published Badge - Green for new posts */
.tb-published-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #fff;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
}

.tb-published-badge i {
    font-size: 10px;
    color: #fff;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}


/* Mobile - Sidebar Hidden */
@media (max-width: 768px) {
    .tb-sidebar-compact {
        display: none !important;
    }
    
    .tb-update-badge,
    .tb-published-badge {
        margin-left: 5px;
        padding: 2px 8px;
        font-size: 9px;
    }
}

/* Print Styles */
@media print {
    .tb-update-badge,
    .tb-published-badge {
        background: none;
        border: 1px solid #000;
        color: #000;
    }
    
    .tb-update-badge i,
    .tb-published-badge i {
        color: #000;
    }
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
/* ======================================== */
/* ROW 1: THREE COLUMN LAYOUT */
/* ======================================== */
.tb-row-1 {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.tb-col {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tb-col-header {
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e74c3c;
}

.tb-col-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ======================================== */
/* STACK CARD */
/* ======================================== */
.tb-stack-card {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.tb-stack-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

.tb-stack-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tb-stack-card:hover .tb-stack-image img {
    transform: scale(1.03);
}

.tb-stack-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.tb-stack-title a {
    color: #222;
    text-decoration: none;
    display: block;
}

.tb-stack-title a:hover {
    color: #e74c3c;
}

/* ======================================== */
/* HORIZONTAL CARD */
/* ======================================== */
.tb-horizontal-card {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 12px 0;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
    min-height: 90px;
}

.tb-horizontal-card:last-child {
    border-bottom: none;
}

.tb-horizontal-card:hover {
    background: #f9f9f9;
}

.tb-horizontal-image {
    flex: 0 0 110px;
    height: 75px;
    overflow: hidden;
    border-radius: 4px;
}

.tb-horizontal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tb-horizontal-card:hover .tb-horizontal-image img {
    transform: scale(1.05);
}

.tb-horizontal-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.tb-horizontal-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.2em;
}

.tb-horizontal-title a {
    color: #333;
    text-decoration: none;
    display: block;
}

.tb-horizontal-title a:hover {
    color: #e74c3c;
}

.tb-horizontal-posts {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

/* ======================================== */
/* ROWS 2 & 3 */
/* ======================================== */
.tb-row-2, .tb-row-3 {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tb-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.tb-row-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.tb-row-viewall {
    color: #e74c3c;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 15px;
}

.tb-row-viewall:hover {
    text-decoration: underline;
}

/* 3-Column Grid */
.tb-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tb-grid-col {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

/* ======================================== */
/* CATEGORY SECTIONS */
/* ======================================== */
.tb-section {
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Section Colors */
.tb-section-red { background: #fee9e7; border-left: 4px solid #e74c3c; }
.tb-section-blue { background: #e7f0fd; border-left: 4px solid #3498db; }
.tb-section-purple { background: #f3e8ff; border-left: 4px solid #9b59b6; }
.tb-section-orange { background: #ffefe3; border-left: 4px solid #f39c12; }
.tb-section-green { background: #e3f4e9; border-left: 4px solid #27ae60; }
.tb-section-yellow { background: #fef7e0; border-left: 4px solid #f1c40f; }
.tb-section-teal { background: #e0f7fa; border-left: 4px solid #008080; }

/* Category Section Headers - Fixed Inline Alignment */
.tb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
    width: 100%;
}

.tb-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    flex: 0 1 auto;
}

.tb-view-all {
    color: #e74c3c;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 12px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
    flex: 0 0 auto;
    margin-left: 15px;
}

.tb-view-all:hover {
    background: #e74c3c;
    color: #fff;
}

/* Category Grid */
.tb-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Category Cards */
.tb-cat-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s;
    height: 100%;
}

.tb-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tb-cat-image {
    height: 150px;
    overflow: hidden;
}

.tb-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tb-cat-card:hover .tb-cat-image img {
    transform: scale(1.05);
}

.tb-cat-content {
    padding: 15px;
}

/* Full Category Titles - No Truncation */
.tb-cat-title-full {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    word-wrap: break-word;
}

.tb-cat-title-full a {
    color: #333;
    text-decoration: none;
    display: block;
}

.tb-cat-title-full a:hover {
    color: #e74c3c;
}

.tb-cat-date {
    color: #999;
    font-size: 12px;
}

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

/* Tablet Landscape */
@media (max-width: 992px) {
    .tb-row-1 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tb-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tb-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .tb-container {
        padding: 15px;
    }
    
    .tb-grid-3col {
        grid-template-columns: 1fr;
    }
    
    .tb-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .tb-stack-image {
        height: 220px;
    }
    
    .tb-horizontal-image {
        flex: 0 0 100px;
        height: 70px;
    }
    
    .tb-section-header {
        flex-wrap: wrap;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .tb-col {
        padding: 15px;
    }
    
    .tb-horizontal-card {
        padding: 10px 0;
        gap: 12px;
        min-height: 85px;
    }
    
    .tb-horizontal-image {
        flex: 0 0 90px;
        height: 65px;
    }
    
    .tb-horizontal-title {
        font-size: 16px;
        -webkit-line-clamp: 3;
    }
    
    .tb-stack-image {
        height: 200px;
    }
    
    .tb-stack-title {
        font-size: 18px;
    }
    
    .tb-section {
        padding: 15px;
    }
    
    .tb-cat-image {
        height: 180px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .tb-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tb-view-all {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .tb-horizontal-image {
        flex: 0 0 85px;
        height: 60px;
    }
    
    .tb-horizontal-title {
        font-size: 16px;
    }
    
    .tb-stack-image {
        height: 180px;
    }
    
    .tb-stack-title {
        font-size: 16px;
    }
    
    .tb-cat-image {
        height: 160px;
    }
}


/* ======================================== */
/* CATEGORY ARCHIVE - CLEAN CARD STYLE */
/* Automatically applies to all categories */
/* ======================================== */

.tb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================================== */
/* CATEGORY HEADER */
/* ======================================== */
.tb-cat-header {
    background: #f8f9fa;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
}

.tb-cat-header-content {
    max-width: 800px;
}

.tb-cat-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.tb-cat-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ======================================== */
/* POSTS GRID - CARD STYLE */
/* ======================================== */
.tb-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Post Card */
.tb-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tb-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Card Image */
.tb-card-img {
    height: 180px;
    overflow: hidden;
}

.tb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tb-post-card:hover .tb-card-img img {
    transform: scale(1.05);
}

/* Card Content */
.tb-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tb-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tb-card-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.tb-card-title a:hover {
    color: #e74c3c;
}

.tb-card-meta {
    margin-bottom: 12px;
    font-size: 13px;
    color: #999;
}

.tb-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.tb-read-more {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
    margin-top: auto;
}

.tb-read-more:hover {
    gap: 10px;
}

/* ======================================== */
/* PAGINATION */
/* ======================================== */
.tb-pagination {
    margin: 40px 0 60px;
    text-align: center;
}

.tb-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 6px;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #eaeaea;
}

.tb-pagination .page-numbers.current {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.tb-pagination .page-numbers:hover:not(.current) {
    background: #f5f5f5;
    border-color: #ccc;
}

/* ======================================== */
/* NO POSTS MESSAGE */
/* ======================================== */
.tb-no-posts {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    margin: 40px 0;
}

.tb-no-posts h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #666;
}

.tb-no-posts p {
    color: #999;
}

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

/* Tablet - 2 columns */
@media (max-width: 992px) {
    .tb-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tb-cat-title {
        font-size: 30px;
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .tb-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .tb-cat-header {
        padding: 30px 0;
    }
    
    .tb-cat-title {
        font-size: 24px;
    }
    
    .tb-card-img {
        height: 200px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .tb-card-img {
        height: 180px;
    }
    
    .tb-card-title {
        font-size: 16px;
    }
}

/* ======================================== */
/* TAG ARCHIVE - CLEAN CARD STYLE */
/* Matches Category Pages Design */
/* ======================================== */

/* Tag Header */
.tb-tag-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

.tb-tag-header-content {
    max-width: 800px;
}

.tb-tag-label {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 15px;
}

.tb-tag-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.tb-tag-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 600px;
}

.tb-tag-stats {
    margin-top: 15px;
}

.tb-tag-count {
    background: rgba(0,0,0,0.05);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    color: #555;
}

/* Tag in Card Meta */
.tb-card-tag {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #666;
}

/* Reuse existing card styles from category */
.tb-posts-grid,
.tb-post-card,
.tb-card-img,
.tb-card-content,
.tb-card-title,
.tb-card-meta,
.tb-card-excerpt,
.tb-read-more,
.tb-pagination,
.tb-no-posts {
    /* These styles are already defined in category CSS */
    /* They will be reused automatically */
}

/* ======================================== */
/* RESPONSIVE FOR TAG PAGES */
/* ======================================== */
@media (max-width: 992px) {
    .tb-tag-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .tb-tag-header {
        padding: 40px 0;
    }
    
    .tb-tag-title {
        font-size: 24px;
    }
}

/* ======================================== */
/* ARCHIVE PAGES - Categories, Tags, etc. */
/* ======================================== */

.tb-archive-header {
    background: #f8f9fa;
    padding: 50px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

/* Different subtle backgrounds for archive types */
.tb-archive-header[data-type="tag"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.tb-archive-header[data-type="category"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff3e0 100%);
}

.tb-archive-header[data-type="author"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
}

.tb-archive-header[data-type="date"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3e5f5 100%);
}

.tb-archive-header-content {
    max-width: 800px;
}

.tb-archive-label {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 15px;
}

.tb-archive-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.tb-archive-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 600px;
}

.tb-archive-stats {
    margin-top: 15px;
}

.tb-archive-count {
    background: rgba(0,0,0,0.05);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    color: #555;
}

.tb-card-archive-tag {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #666;
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .tb-archive-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .tb-archive-header {
        padding: 40px 0;
    }
    
    .tb-archive-title {
        font-size: 24px;
    }
}

/* ======================================== */
/* SIMPLE AUTHOR PAGE - WORKING VERSION */
/* ======================================== */

.tb-author-header {
    background: #f8f9fa;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
}

.tb-author-box {
    display: flex;
    align-items: center;
    gap: 30px;
}

.tb-author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tb-author-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.tb-author-bio {
    color: #666;
    margin-bottom: 10px;
    max-width: 600px;
}

.tb-author-count {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.tb-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
}

/* Reuse your existing grid styles from category page */
.tb-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.tb-post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tb-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.tb-card-img {
    height: 160px;
    overflow: hidden;
}

.tb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-card-content {
    padding: 15px;
}

.tb-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tb-card-title a {
    color: #333;
    text-decoration: none;
}

.tb-card-title a:hover {
    color: #e74c3c;
}

.tb-card-meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
}

.tb-card-excerpt {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.tb-read-more {
    color: #e74c3c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.tb-read-more:hover {
    text-decoration: underline;
}

.tb-pagination {
    margin: 40px 0;
    text-align: center;
}

.tb-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
}

.tb-pagination .page-numbers.current {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.tb-no-posts {
    text-align: center;
    padding: 60px;
    background: #fff;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .tb-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tb-author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .tb-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .tb-author-name {
        font-size: 24px;
    }
}

/* ======================================== */
/* AUTHORS LIST PAGE - FIXED VERSION */
/* ======================================== */

.tb-authors-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    margin-bottom: 50px;
    color: #fff;
    text-align: center;
}

.tb-authors-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.tb-authors-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.tb-authors-stats {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 24px;
    border-radius: 40px;
}

/* Authors Grid */
.tb-authors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Author Card */
.tb-author-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tb-author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
}

.tb-author-card-avatar {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 25px 0;
}

.tb-author-card-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tb-author-card-info {
    padding: 20px;
    text-align: center;
}

.tb-author-card-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tb-author-card-name a {
    color: #222;
    text-decoration: none;
}

.tb-author-card-name a:hover {
    color: #667eea;
}

.tb-author-card-badge {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tb-author-role {
    background: #667eea;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tb-author-posts {
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.tb-author-card-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-author-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.tb-author-view-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.tb-author-view-link:hover {
    transform: translateX(5px);
    color: #764ba2;
}

/* Responsive */
@media (max-width: 992px) {
    .tb-authors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tb-authors-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .tb-authors-grid {
        grid-template-columns: 1fr;
    }
    
    .tb-authors-header {
        padding: 40px 0;
    }
    
    .tb-authors-title {
        font-size: 28px;
    }
}

/* ======================================== */
/* REGULAR PAGES - SIMPLE & CLEAN */
/* ======================================== */

.tb-regular-page {
    padding: 40px 0 60px;
    background: #fff;
}

.tb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Title */
.tb-page-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eaeaea;
}

/* Page Content - Automatically styles everything from editor */
.tb-page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* Headings */
.tb-page-content h1 {
    font-size: 32px;
    margin: 40px 0 20px;
}

.tb-page-content h2 {
    font-size: 28px;
    margin: 35px 0 15px;
}

.tb-page-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.tb-page-content h4 {
    font-size: 20px;
    margin: 25px 0 10px;
}

.tb-page-content h5 {
    font-size: 18px;
    margin: 20px 0 10px;
}

.tb-page-content h6 {
    font-size: 16px;
    margin: 15px 0 10px;
    font-weight: 600;
}

/* Paragraphs */
.tb-page-content p {
    margin-bottom: 20px;
}

/* Links */
.tb-page-content a {
    color: #e74c3c;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.tb-page-content a:hover {
    color: #c0392b;
    border-bottom-color: #e74c3c;
}

/* Lists */
.tb-page-content ul,
.tb-page-content ol {
    margin: 0 0 20px 25px;
}

.tb-page-content li {
    margin-bottom: 8px;
}

.tb-page-content ul li {
    list-style-type: disc;
}

.tb-page-content ol li {
    list-style-type: decimal;
}

/* Blockquotes */
.tb-page-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: #f8f9fa;
    border-left: 4px solid #e74c3c;
    font-style: italic;
    font-size: 18px;
    color: #555;
}

.tb-page-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Images */
.tb-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.tb-page-content .alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}

.tb-page-content .alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

.tb-page-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Tables */
.tb-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.tb-page-content th {
    background: #f8f9fa;
    font-weight: 600;
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.tb-page-content td {
    padding: 10px 12px;
    border: 1px solid #ddd;
}

/* Code */
.tb-page-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

.tb-page-content pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.tb-page-content pre code {
    background: none;
    padding: 0;
}

/* Galleries */
.tb-page-content .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.tb-page-content .gallery-item {
    margin: 0;
}

.tb-page-content .gallery-icon img {
    width: 100%;
    height: auto;
    margin: 0;
}

/* Page Links (for multi-page content) */
.tb-page-links {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    font-size: 16px;
}

.tb-page-links a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.tb-page-links a:hover {
    background: #e74c3c;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .tb-page-title {
        font-size: 32px;
    }
    
    .tb-page-content h1 {
        font-size: 28px;
    }
    
    .tb-page-content h2 {
        font-size: 24px;
    }
    
    .tb-page-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .tb-regular-page {
        padding: 30px 0 40px;
    }
    
    .tb-page-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .tb-page-content {
        font-size: 15px;
    }
    
    .tb-page-content h1 {
        font-size: 26px;
        margin: 30px 0 15px;
    }
    
    .tb-page-content h2 {
        font-size: 22px;
    }
    
    .tb-page-content h3 {
        font-size: 20px;
    }
    
    .tb-page-content .alignleft,
    .tb-page-content .alignright {
        float: none;
        margin: 20px 0;
        display: block;
    }
}

@media (max-width: 480px) {
    .tb-page-title {
        font-size: 24px;
    }
}

/* ======================================== */
/* FONT IMPORTS */
/* ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* ======================================== */
/* BASE STYLES */
/* ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tb-single-post {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    padding: 10px 0;
    width: 100%;
    overflow-x: hidden;
}

.tb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* ======================================== */
/* BREADCRUMBS */
/* ======================================== */
.tb-breadcrumbs-wrapper {
    margin-bottom: 10px;
    width: 100%;
}

.tb-breadcrumbs {
    font-size: 12px;
    color: #666;
    padding: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.tb-breadcrumbs a {
    color: #e74c3c;
    text-decoration: none;
}

.tb-breadcrumb-sep {
    margin: 0 5px;
    color: #999;
}

/* ======================================== */
/* MAIN LAYOUT GRID */
/* ======================================== */
.tb-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    width: 100%;
}

/* ======================================== */
/* MAIN CONTENT AREA */
/* ======================================== */
.tb-post-main {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ======================================== */
/* POST CATEGORIES */
/* ======================================== */
.tb-post-categories {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tb-category-badge {
    display: inline-block;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 16px;
    text-decoration: none;
}

/* ======================================== */
/* POST TITLE */
/* ======================================== */
.tb-post-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #222;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ======================================== */
/* POST META - ROW LAYOUT */
/* ======================================== */
.tb-post-meta {
    background: #f9f9f9;
    border-radius: 30px;
    padding: 2px 15px;
    margin-bottom: 15px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
}

.tb-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.tb-meta-secondary {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #ddd;
}

/* Author Wrapper - Left Side */
.tb-meta-author-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 3px 12px 3px 3px;
    border-radius: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    flex-shrink: 1;
    min-width: 0;
}

.tb-author-avatar-mini {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e74c3c;
    flex-shrink: 0;
}

.tb-author-mini-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-author-mini-default {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.tb-author-info-mini {
    display: flex;
    align-items: center;
    gap: 3px;
    overflow: hidden;
}

.tb-meta-label {
    color: #999;
    font-size: 11px;
    flex-shrink: 0;
}

.tb-author-name-link {
    color: #e74c3c;
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* Share Icons - Right Side */
.tb-share-compact {
    display: flex;
    gap: 3px;
    align-items: center;
    flex-shrink: 0;
}

.tb-share-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.tb-share-icon:hover {
    transform: scale(1.1);
}

.tb-share-fb { background: #4267B2; }
.tb-share-tw { background: #1DA1F2; }
.tb-share-li { background: #0077b5; }
.tb-share-wa { background: #25D366; }

/* Date & Reading Time - Second Row */
.tb-meta-date-wrapper,
.tb-meta-reading-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    padding: 3px 10px;
    border-radius: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    font-size: 12px;
    color: #555;
}

.tb-meta-date-wrapper i,
.tb-meta-reading-wrapper i {
    color: #e74c3c;
    font-size: 11px;
}

/* Update Badge */
.tb-update-badge,
.tb-published-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
    white-space: nowrap;
}

.tb-update-badge {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff;
    animation: pulse 2s infinite;
}

.tb-published-badge {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #fff;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* ======================================== */
/* FEATURED IMAGE */
/* ======================================== */
.tb-post-featured {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.tb-featured-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.tb-featured-caption {
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    font-style: italic;
    text-align: center;
    word-wrap: break-word;
}

.tb-featured-caption i {
    margin-right: 5px;
    color: #ffd700;
}

/* ======================================== */
/* POST CONTENT */
/* ======================================== */
.tb-post-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    width: 100%;
    overflow-x: hidden;
}

.tb-post-content p {
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tb-post-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 10px;
    word-wrap: break-word;
}

.tb-post-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 18px 0 8px;
    word-wrap: break-word;
}

/* Content Images */
.tb-content-figure {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 100%;
}

.tb-content-figure img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.tb-content-figure figcaption {
    background: #f5f5f5;
    color: #555;
    padding: 6px 10px;
    font-size: 12px;
    text-align: center;
    word-wrap: break-word;
}

/* Content Ad */
.tb-content-ad {
    margin: 15px 0;
    padding: 12px;
    background: #f5f5f5;
    text-align: center;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

.tb-content-ad ins {
    max-width: 100%;
}

.tb-ad-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Interlinks */
.tb-interlinks-box {
    background: #f0f7ff;
    border: 1px solid #d4e3fd;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
}

.tb-interlinks-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0066cc;
    word-wrap: break-word;
}

.tb-interlinks-list {
    list-style: none;
    margin: 0;
}

.tb-interlinks-list li {
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
    font-size: 14px;
    word-wrap: break-word;
}

.tb-interlinks-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #e74c3c;
}

/* ======================================== */
/* GOOGLE PREFERRED COMPACT */
/* ======================================== */
.tb-preferred-compact {
    background: #f0f7ff;
    border: 1px solid #cfe2ff;
    border-radius: 30px;
    padding: 10px 15px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.tb-preferred-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.tb-preferred-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #0a58ca;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.tb-preferred-badge i {
    color: #0a58ca;
}

.tb-preferred-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: #fff;
    padding: 4px 12px;
    border-radius: 30px;
}

.tb-preferred-link img {
    height: 18px;
    width: auto;
}

.tb-preferred-link span {
    color: #e74c3c;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.tb-preferred-trust {
    color: #28a745;
    font-size: 12px;
    background: #d4edda;
    padding: 2px 10px;
    border-radius: 30px;
    white-space: nowrap;
}

/* ======================================== */
/* BOTTOM SHARE COMPACT */
/* ======================================== */
.tb-share-compact-bottom {
    margin: 20px 0;
    text-align: center;
    width: 100%;
}

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

.tb-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.tb-share-btn:hover {
    transform: scale(1.1);
}

.tb-share-btn.tb-share-fb { background: #4267B2; }
.tb-share-btn.tb-share-tw { background: #1DA1F2; }
.tb-share-btn.tb-share-li { background: #0077b5; }
.tb-share-btn.tb-share-wa { background: #25D366; }

/* ======================================== */
/* AUTHOR COMPACT */
/* ======================================== */
.tb-author-compact {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 10px;
    margin: 20px 0;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.tb-author-avatar-sm {
    flex: 0 0 48px;
}

.tb-author-img-sm {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e74c3c;
}

.tb-author-img-default-sm {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #fff;
}

.tb-author-info-compact {
    flex: 1;
    min-width: 0;
}

.tb-author-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
    flex-wrap: wrap;
    gap: 5px;
}

.tb-author-name-sm {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    word-wrap: break-word;
}

.tb-author-name-sm a {
    color: #222;
    text-decoration: none;
}

.tb-author-name-sm a:hover {
    color: #e74c3c;
}

.tb-feedback-btn-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tb-feedback-btn-sm:hover {
    background: #e74c3c;
    color: #fff;
}

.tb-author-bio-sm {
    color: #555;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.tb-author-social-sm {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tb-social-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.tb-social-sm:hover {
    transform: scale(1.1);
}

.tb-social-sm.tb-web { background: #333; }
.tb-social-sm.tb-tw { background: #1DA1F2; }

.tb-profile-link-sm {
    color: #e74c3c;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    margin-left: auto;
    white-space: nowrap;
}

.tb-profile-link-sm:hover {
    text-decoration: underline;
}

/* ======================================== */
/* POPULAR POSTS - FULL TITLES VISIBLE */
/* ======================================== */
.tb-popular-compact {
    margin: 20px 0;
    width: 100%;
}

.tb-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
    word-wrap: break-word;
}

.tb-popular-list-compact {
    list-style: none;
    margin: 0;
}

.tb-popular-list-compact li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}

.tb-popular-list-compact li:last-child {
    border-bottom: none;
}

.tb-popular-number {
    width: 22px;
    height: 22px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.tb-popular-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    flex: 1;
}

.tb-popular-link:hover {
    color: #e74c3c;
}

/* ======================================== */
/* RELATED POSTS - FULL TITLES, NO CATEGORY */
/* ======================================== */
.tb-related-compact {
    margin: 20px 0;
    width: 100%;
}

.tb-related-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.tb-related-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease;
    width: 100%;
}

.tb-related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tb-related-link {
    display: flex;
    gap: 8px;
    padding: 8px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.tb-related-image-sm {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.tb-related-image-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.tb-related-content {
    flex: 1;
    min-width: 0;
}

.tb-related-title-sm {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: #222;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.tb-related-title-sm:hover {
    color: #e74c3c;
}

/* ======================================== */
/* NAV COMPACT - FULL TITLES */
/* ======================================== */
.tb-nav-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    width: 100%;
}

.tb-nav-prev,
.tb-nav-next {
    flex: 1;
    min-width: 0;
}

.tb-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 5px 10px;
    background: #f9f9f9;
    border-radius: 30px;
    font-size: 12px;
    color: #333;
    transition: background 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.tb-nav-link:hover {
    background: #e74c3c;
    color: #fff;
}

.tb-nav-link i {
    width: 24px;
    height: 24px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.tb-nav-link:hover i {
    background: #fff;
    color: #e74c3c;
}

.tb-nav-link span {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.tb-nav-home {
    flex: 0 0 auto;
}

.tb-home-icon {
    width: 34px;
    height: 34px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.tb-home-icon:hover {
    transform: rotate(360deg);
    background: #c0392b;
}

/* ======================================== */
/* COMMENTS COMPACT */
/* ======================================== */
.tb-comments-compact {
    margin: 20px 0;
    width: 100%;
}

.tb-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.tb-comment-count {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
}

.tb-comment-form-compact textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 8px;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    resize: vertical;
}

.tb-comment-form-compact textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.tb-comment-submit {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tb-comment-submit:hover {
    background: #c0392b;
}

.tb-comment-list {
    list-style: none;
    margin: 15px 0 0;
}

.tb-comment-list li {
    padding: 8px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    word-wrap: break-word;
}


/* ======================================== */
/* MAKE YOUTUBE VIDEOS RESPONSIVE */
/* ======================================== */
.tb-post-content iframe,
.tb-post-content embed,
.tb-post-content object,
.tb-post-content video {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

/* ======================================== */
/* MOBILE RESPONSIVE - FIXED CONTAINER ISSUES */
/* ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .tb-post-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tb-related-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile - FIXED CONTAINER ISSUES */
@media (max-width: 768px) {
    .tb-container {
        padding: 0 12px;
    }
    
    .tb-post-main {
        padding: 12px;
    }
    
    .tb-post-title {
        font-size: 24px;
    }
    
    /* Fixed meta row for mobile */
    .tb-meta-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tb-meta-author-wrapper {
        max-width: 100%;
        flex: 1;
        min-width: 0;
    }
    
    .tb-author-name-link {
        max-width: 120px;
    }
    
    .tb-update-badge,
    .tb-published-badge {
        margin-left: 0;
        margin-right: auto;
        white-space: normal;
        font-size: 10px;
        padding: 2px 8px;
    }
    
    .tb-share-compact {
        flex-shrink: 0;
    }
    
    .tb-share-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .tb-meta-secondary {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    
    .tb-meta-date-wrapper,
    .tb-meta-reading-wrapper {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    /* Full titles on mobile */
    .tb-popular-link,
    .tb-related-title-sm,
    .tb-nav-link span {
        font-size: 13px;
    }
    
    .tb-preferred-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tb-preferred-badge,
    .tb-preferred-link,
    .tb-preferred-trust {
        width: 100%;
        justify-content: center;
    }
    
    .tb-preferred-link {
        justify-content: center;
    }
    
    .tb-author-compact {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .tb-author-name-row {
        justify-content: center;
    }
    
    .tb-author-social-sm {
        justify-content: center;
    }
    
    .tb-profile-link-sm {
        margin-left: 0;
    }
    
    .tb-related-grid-compact {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tb-related-item {
        width: 100%;
    }
    
    .tb-nav-compact {
        flex-direction: column;
        gap: 10px;
    }
    
    .tb-nav-prev,
    .tb-nav-next {
        width: 100%;
    }
    
    .tb-nav-link {
        width: 100%;
        justify-content: space-between;
    }
    
    .tb-nav-link span {
        max-width: 80%;
    }
    
    .tb-nav-home {
        order: -1;
        margin-bottom: 5px;
    }
    
    .tb-comments-header {
        flex-direction: row;
        align-items: center;
    }
    
    .tb-share-buttons-compact {
        gap: 10px;
    }
    
    .tb-share-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* Sidebar hidden on mobile */
    .tb-sidebar-compact {
        display: none !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .tb-container {
        padding: 0 10px;
    }
    
    .tb-post-main {
        padding: 10px;
    }
    
    .tb-post-title {
        font-size: 20px;
    }
    
    .tb-meta-author-wrapper {
        padding: 2px 8px 2px 2px;
    }
    
    .tb-author-name-link {
        font-size: 10px;
        max-width: 90px;
    }
    
    .tb-share-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .tb-update-badge,
    .tb-published-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .tb-meta-date-wrapper,
    .tb-meta-reading-wrapper {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .tb-meta-date-wrapper i,
    .tb-meta-reading-wrapper i {
        font-size: 9px;
    }
    
    .tb-author-compact {
        padding: 12px;
    }
    
    .tb-author-name-sm {
        font-size: 15px;
    }
    
    .tb-author-bio-sm {
        font-size: 11px;
    }
    
    .tb-social-sm {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .tb-profile-link-sm {
        font-size: 11px;
    }
    
    .tb-section-title {
        font-size: 16px;
    }
    
    .tb-popular-number {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .tb-popular-link {
        font-size: 13px;
    }
    
    .tb-related-image-sm {
        width: 60px;
        height: 60px;
    }
    
    .tb-related-title-sm {
        font-size: 13px;
    }
    
    .tb-nav-link {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .tb-nav-link i {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    
    .tb-home-icon {
        width: 32px;
        height: 32px;
    }
    
    .tb-share-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .tb-comment-form-compact textarea {
        font-size: 14px;
        padding: 10px;
    }
    
    .tb-comment-submit {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .tb-container {
        padding: 0 8px;
    }
    
    .tb-post-main {
        padding: 8px;
    }
    
    .tb-meta-author-wrapper {
        max-width: 100%;
    }
    
    .tb-author-name-link {
        max-width: 70px;
        font-size: 9px;
    }
    
    .tb-share-icon {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .tb-meta-date-wrapper,
    .tb-meta-reading-wrapper {
        font-size: 9px;
        padding: 2px 5px;
    }
    
    .tb-update-badge,
    .tb-published-badge {
        font-size: 8px;
        padding: 2px 5px;
    }
    
    .tb-horizontal-image {
        flex: 0 0 70px;
        height: 55px;
    }
    
    .tb-horizontal-title {
        font-size: 14px;
    }
    
    .tb-share-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* ======================================== */
/* OPTIMIZED SIDEBAR - NO SCROLLBAR */
/* ======================================== */

.tb-single-sidebar {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Widget Base */
.tb-sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* Ad Widget with container */
.tb-ad-container {
    min-height: 250px;
    background: #f9f9f9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-ad-container ins {
    width: 100%;
}

.tb-sidebar-widget .tb-ad-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-align: center;
}

/* Widget Title */
.tb-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 18px 0;
    padding: 0 0 8px 0;
    border-bottom: 2px solid #e74c3c;
    color: #222;
}

/* Latest Posts List */
.tb-latest-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Latest Item */
.tb-latest-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.tb-latest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tb-latest-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: flex-start;
}

/* Thumbnail */
.tb-latest-thumb {
    flex: 0 0 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.tb-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content */
.tb-latest-content {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.tb-latest-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.tb-latest-link:hover .tb-latest-title {
    color: #e74c3c;
}

/* Sticky Desktop - NO SCROLLBAR */
@media (min-width: 769px) {
    .tb-single-sidebar {
        position: sticky;
        top: 20px;
        align-self: flex-start;
        /* NO max-height, NO overflow, NO scrollbar */
    }
}

/* Tablet - optional show */
@media (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
    .tb-single-sidebar {
        display: block !important;
        position: static;
    }
}

/* Mobile Hidden */
@media (max-width: 768px) {
    .tb-single-sidebar {
        display: none !important;
    }
}

/* Small Desktop */
@media (min-width: 769px) and (max-width: 992px) {
    .tb-sidebar-widget {
        padding: 15px;
    }
    
    .tb-latest-thumb {
        flex: 0 0 60px;
        height: 60px;
    }
    
    .tb-latest-title {
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .tb-single-sidebar {
        display: none !important;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .tb-sidebar-widget,
    .tb-latest-thumb img,
    .tb-latest-title {
        transition: none;
    }
}

.tb-site-footer {
    text-align: center;
    padding: 30px 0 20px;
    margin-top: 40px;
    border-top: 2px solid #e74c3c;
    font-family: 'Hind', sans-serif;
}

.tb-footer-nav {
    margin-bottom: 15px;
}

.tb-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.tb-footer-menu li {
    margin: 0;
    padding: 0;
}

.tb-footer-menu a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.tb-footer-menu a:hover {
    color: #e74c3c;
}

.tb-footer-copyright {
    color: #999;
    font-size: 13px;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .tb-footer-menu {
        gap: 15px;
    }
    
    .tb-footer-menu a {
        font-size: 13px;
    }
}

/* ======================================== */
/* STATIC HEADER STYLES - SAFE FOR CUSTOM CSS */
/* ======================================== */

.tb-header {
    position: relative;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.tb-header-top {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.tb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.tb-logo {
    flex: 0 0 auto;
}

.tb-logo img {
    display: block;
    max-height: 40px;
    width: auto;
}

.tb-site-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Desktop Navigation */
.tb-nav-desktop {
    flex: 1;
    margin: 0 30px;
}

.tb-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.tb-nav-menu li {
    position: relative;
    margin: 0;
}

.tb-nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 5px 0;
    display: block;
    transition: color 0.2s;
}

/* Dropdown Menu */
.tb-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
}

.tb-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.tb-nav-menu .sub-menu li {
    display: block;
}

.tb-nav-menu .sub-menu a {
    padding: 8px 15px;
    font-size: 14px;
}

/* Header Right Icons */
.tb-header-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Search Toggle */
.tb-search-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: #555;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

/* Mobile Toggle (Hamburger) */
.tb-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.tb-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* Scroll Menu */
.tb-scroll-menu {
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: transform 0.3s ease;
}

.tb-scroll-menu.tb-hidden {
    transform: translateY(-100%);
}

.tb-scroll-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.tb-scroll-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.tb-scroll-items {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
}

.tb-scroll-items::-webkit-scrollbar {
    display: none;
}

/* Menu Item Styles - Structure only */
.tb-scroll-items ul,
.tb-scroll-items li,
.tb-scroll-items .menu-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tb-scroll-items a,
.tb-scroll-items .menu-item a,
.tb-scroll-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    cursor: pointer;
    line-height: 1;
    font-family: inherit;
}

/* Scroll Arrows */
.tb-scroll-arrow {
    flex: 0 0 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.tb-scroll-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.tb-scroll-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Search Overlay */
.tb-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.tb-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tb-search-container {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.tb-search-container form {
    display: flex;
    gap: 10px;
}

.tb-search-container input {
    flex: 1;
    height: 60px;
    padding: 0 20px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    outline: none;
}

.tb-search-container button[type="submit"] {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.tb-search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* Mobile Menu */
.tb-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: right 0.3s;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.tb-mobile-menu.active {
    right: 0;
}

.tb-mobile-header {
    padding: 20px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.tb-mobile-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.tb-mobile-content {
    padding: 20px;
}

.tb-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tb-mobile-nav li {
    margin-bottom: 15px;
}

.tb-mobile-nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.tb-mobile-nav .sub-menu {
    list-style: none;
    margin: 10px 0 0 15px;
    padding: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .tb-nav-desktop {
        display: none;
    }
    
    .tb-mobile-toggle {
        display: flex;
    }
    
    .tb-scroll-items a,
    .tb-scroll-items .menu-item a,
    .tb-scroll-item {
        padding: 0 15px;
        font-size: 12px;
        height: 32px;
    }
    
    .tb-scroll-arrow {
        flex: 0 0 22px;
        height: 22px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .tb-header-top {
        padding: 10px 0;
    }
    
    .tb-site-title {
        font-size: 20px;
    }
    
    .tb-logo img {
        max-height: 35px;
    }
    
    .tb-scroll-items a,
    .tb-scroll-items .menu-item a,
    .tb-scroll-item {
        padding: 0 12px;
        font-size: 11px;
        height: 30px;
    }
    
    .tb-scroll-arrow {
        flex: 0 0 20px;
        height: 20px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .tb-container {
        padding: 0 15px;
    }
    
    .tb-search-container input {
        height: 50px;
        font-size: 16px;
    }
    
    .tb-search-container button[type="submit"] {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .tb-scroll-menu,
    .tb-search-overlay,
    .tb-mobile-toggle,
    .tb-search-toggle {
        display: none;
    }
}

/* ======================================== */
/* HARDCODED COLORS - NO CUSTOMIZER NEEDED */
/* ======================================== */

.tb-header {
    background: #ffffff;
}

.tb-site-title:hover {
    color: #e74c3c;
}

.tb-nav-menu a:hover {
    color: #e74c3c;
}

.tb-search-toggle:hover {
    color: #e74c3c;
}

.tb-scroll-menu {
    background: #e74c3c;
}

.tb-scroll-items a,
.tb-scroll-items .menu-item a,
.tb-scroll-item {
    background: #ffffff;
    color: #e74c3c;
}

.tb-scroll-items a:hover,
.tb-scroll-items .menu-item a:hover,
.tb-scroll-item:hover {
    background: #fff5f5;
}

.tb-scroll-items .current-menu-item a,
.tb-scroll-items .current-menu-parent a,
.tb-scroll-items .current_page_item a,
.tb-scroll-item.active {
    background: #fee2e2;
    color: #c0392b;
}

.tb-search-container button[type="submit"] {
    background: #e74c3c;
}
/* ======================================== */
/* PRINT STYLES */
/* ======================================== */
@media print {
    .tb-post-meta,
    .tb-share-compact,
    .tb-share-compact-bottom,
    .tb-author-compact,
    .tb-bottom-ad,
    .tb-popular-compact,
    .tb-related-compact,
    .tb-nav-compact,
    .tb-comments-compact,
    .tb-sidebar-compact,
    .tb-preferred-compact,
    .tb-update-badge,
    .tb-published-badge {
        display: none;
    }
    
    .tb-post-main {
        box-shadow: none;
        padding: 0;
    }
    
    .tb-container {
        padding: 0;
    }
}