/* Tech Blog Style Setup - basic magazine/forum look, uses CSS variable so
   changing the primary color in Settings updates everything automatically */

:root {
    --tbss-primary: #2e9e4f;
}

.tbss-cat-badge {
    display: inline-block;
    background: var(--tbss-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Generic post card look — applies to common theme markup patterns */
article.post,
article.type-post {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

article.post:hover,
article.type-post:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

article.post .entry-title a,
article.type-post .entry-title a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
}

article.post .entry-title a:hover,
article.type-post .entry-title a:hover {
    color: var(--tbss-primary);
}

/* Read more button */
.tbss-read-more,
.more-link {
    display: inline-block;
    background: var(--tbss-primary);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
}

/* Sidebar widgets */
.tbss-widget {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.tbss-widget-title {
    font-size: 15px;
    font-weight: 700;
    border-bottom: 2px solid var(--tbss-primary);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

/* Trainer badge next to author name (add manually in author bio templates) */
.tbss-trainer-badge {
    background: var(--tbss-primary);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 6px;
}
